home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / chichi.swf / scripts / frame_235 / PlaceObject2_238_70 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2008-09-26  |  519 b   |  28 lines

  1. onClipEvent(enterFrame){
  2.    if(_parent.score < 0)
  3.    {
  4.       Mouse.show();
  5.       _parent.score = 0;
  6.    }
  7.    if(_parent.life == 4)
  8.    {
  9.       _parent.card1.nextFrame();
  10.    }
  11.    if(_parent.life == 7)
  12.    {
  13.       _parent.card2.nextFrame();
  14.    }
  15.    if(_parent.life == 8)
  16.    {
  17.       _global.bosstime += 1;
  18.    }
  19.    if(_parent.life == 9)
  20.    {
  21.       Mouse.show();
  22.       stopAllSounds();
  23.       _global.final_score = _parent.score;
  24.       _parent.gotoAndPlay("congrats");
  25.    }
  26.    trace(_global.kills);
  27. }
  28.